package com.exception.demo01;
//多重捕获块
public class Demo01 {
    public static void main(String[] args) {
        int a = 1;
        int b = 0;

        try {
            System.out.println(a/b);
        }catch (Error e1){
            System.out.println("Error");
        }catch (Exception e2){
            System.out.println("Exception");
        }catch (Throwable e3){
            System.out.println("Throwable");
        }
    }
}
